#pragma once
#include <QMainWindow>
#include <QObject>
#include <ActiveQt/QAxWidget>
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

#include "IVmSolution.h"
#include "IVmProcedure.h"
#include "VMException.h"
//#include "VM_made.h"
#include "HikVmEvent.h"
#include "VmControlBaseInfo.h"

using namespace VisionMasterSDK;
using namespace VisionMasterSDK::VmSolution;
using namespace VisionMasterSDK::VmProcedure;

class Form_EditSol  : public QMainWindow
{
	Q_OBJECT

public:
	QWidget *centralwidget;
	QGridLayout *gridLayout_3;
	QWidget *widget;
	QGridLayout *gridLayout_2;
	QVBoxLayout *verticalLayout;
	QWidget *widget_2;
	QGridLayout *gridLayout;
	QAxWidget *axWidget_GlobalTool;
	QSpacerItem *horizontalSpacer;
	QAxWidget *axWidget_MainView;

public:
	Form_EditSol(QWidget *parent = nullptr);
	~Form_EditSol();
	void closeEvent(QCloseEvent * e);
	void InitCtrl();

signals:
	void FormClosed(QString, QString);

private:
	IVmSolution * g_pVmSol;
	void setupUi();
	void retranslateUi();
};
